Component org.nuxeo.ecm.platform.comment.manager.migrator
In bundle org.nuxeo.ecm.platform.comment
Resolution Order
290
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.comment.manager.migrator" version="1.0">
<extension target="org.nuxeo.runtime.migration.MigrationService" point="configuration">
<migration id="comment-storage">
<description label="migration.comment-storage">Migration of the comment storage model</description>
<class>org.nuxeo.ecm.platform.comment.impl.CommentsMigrator</class>
<defaultState>secured</defaultState>
<state id="relation">
<description label="migration.comment-storage.relation">Comments stored as relations</description>
</state>
<state id="property">
<description label="migration.comment-storage.property">Comments stored with their parent id as property
</description>
</state>
<state id="secured">
<description label="migration.comment-storage.secured">Comments stored under the commented document
</description>
</state>
<step id="relation-to-property" fromState="relation" toState="property">
<description label="migration.comment-storage.relation-to-property">Migrate comments from relations to the
parent id property usage
</description>
</step>
<step id="property-to-secured" fromState="property" toState="secured">
<description label="migration.comment-storage.property-to-secured">Migrate comments under the commented document
</description>
</step>
</migration>
</extension>
</component>